package com.start.avue;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
public class AvueForm {
    @Schema(name = "卡片效果", description = "false")
    private Boolean card = false;
    @Schema(name = "清空按钮", description = "false")
    private Boolean emptyBtn = false;
    @Schema(name = "清空按钮的大小", description = "medium")
    private String emptySize = "medium" ;
    @Schema(name = "清空按钮的文字", description = "清空")
    private String emptyText = "清空" ;
    @Schema(name = "回车提交表单", description = "false")
    private Boolean enter = false;
    @Schema(name = "分组", description = "Array")
    private String group;

    @Schema(name = "项之间的间", description = "20")
    private Integer gutter = 20;
    @Schema(name = "表单的label宽度", description = "80")
    private String labelWidth = "20" ;

    @Schema(name = "表单的label位置 left/top/right", description = "left")
    private String labelPosition = "left" ;
    @Schema(name = "是否显示按钮", description = "true")
    private Boolean menuBtn = true;
    @Schema(name = "菜单的span 1-24", description = "24")
    private Integer menuSpan = 24;
    @Schema(name = "菜单的按钮的位置 left/center/right", description = "center")
    private String menuPosition = "center" ;
    @Schema(name = "表单全局控件的大小 medium/mini/small", description = "medium")
    private String size = "medium" ;
    @Schema(name = "提交按钮 ", description = "true")
    private Boolean submitBtn = true;
    @Schema(name = "提交按钮的大小 medium/mini/small ", description = "medium")
    private String submitSize = "medium" ;
    @Schema(name = "提交按钮的文字 ", description = "提交")
    private String submitText = "提交" ;
    @Schema(name = "列信息")
    private List<AvueBaseFormColumn> column;
}


